package com.example.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 购物车表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-05-22
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class CartExcel {
    @ExcelProperty(value = "Long", index = 0)
    private Long id;
    @ExcelProperty(value = "Long", index = 1)
    private Long userId;
    @ExcelProperty(value = "Integer", index = 2)
    private Integer type;
    @ExcelProperty(value = "Long", index = 3)
    private Long productId;
    @ExcelProperty(value = "Long", index = 4)
    private Long specGroupId;
    @ExcelProperty(value = "String", index = 5)
    private String specValues;
    @ExcelProperty(value = "String", index = 6)
    private String packageItems;
    @ExcelProperty(value = "Integer", index = 7)
    private Integer quantity;
    @ExcelProperty(value = "Date", index = 8)
    private Date createDate;
    @ExcelProperty(value = "Date", index = 9)
    private Date updateDate;
}